package com.gg.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.gg.core.BaseDao;
import com.gg.entity.AboutMe;

@Repository
public class AboutMeDao extends BaseDao<AboutMe, Long> {
	public AboutMe get() {
		List<AboutMe> aboutMes = this.select();
		System.out.println("aaaaa "+aboutMes.size());
		if (aboutMes != null && aboutMes.size() > 0) {
			return aboutMes.get(0);
		}
		return null;
	}
}
